package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 排班申请对象 tmd_duty_application
 * 
 * @author ruoyi
 * @date 2024-04-20
 */
public class TmdDutyApplication extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id 编号 */
    @Excel(name = "编号")
    private Long id;

    /** 排班名称 */
    @Excel(name = "排班名称")
    private String arrangeName;

    /** 部门id */
    @Excel(name = "部门名称")
    private Long deptId;

    @Excel(name = "部门名称")
    private String deptName;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createPerson;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 紧急程度 */
    @Excel(name = "紧急程度")
    private Long level;

    /** 备注 */
    @Excel(name = "备注")
    private String notes;

    /** 附件 */
    @Excel(name = "附件")
    private String file;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setArrangeName(String arrangeName) 
    {
        this.arrangeName = arrangeName;
    }

    public String getArrangeName() 
    {
        return arrangeName;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public void setCreatePerson(String createPerson)
    {
        this.createPerson = createPerson;
    }

    public String getCreatePerson() 
    {
        return createPerson;
    }


    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public void setLevel(Long level) 
    {
        this.level = level;
    }

    public Long getLevel() 
    {
        return level;
    }
    public void setNotes(String notes) 
    {
        this.notes = notes;
    }

    public String getNotes() 
    {
        return notes;
    }
    public void setFile(String file) 
    {
        this.file = file;
    }

    public String getFile() 
    {
        return file;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("arrangeName", getArrangeName())
            .append("deptId", getDeptId())
            .append("deptName", getDeptName())
            .append("createPerson", getCreatePerson())
            .append("createTime", getCreateTime())
            .append("level", getLevel())
            .append("notes", getNotes())
            .append("file", getFile())
            .toString();
    }
}
